#$ -S /bin/bash
#$ -l h_vmem=10G
#$ -l tmem=10G
#$ -l h_rt=480:0:0
#$ -cwd
#$ -j y

#Run 600 tasks where each task has a different $SGE_TASK_ID ranging from 1 to 600
#$ -t 1-600

#$ -N GumW3_R2
date
hostname


#Output the Task ID
echo "Task ID is $SGE_TASK_ID"

/share/apps/matlabR2018b/bin/matlab -nodisplay -nodesktop -nojvm -nosplash -r "main; ID = $SGE_TASK_ID; f_s; exit"


